//
//  XHRTextFieldRightView.h
//  快医
//
//  Created by 胥鸿儒 on 16/7/5.
//  Copyright © 2016年 xuhongru. All rights reserved.
/*typedef NS_ENUM(NSInteger, UITextFieldViewMode)*/

#import <UIKit/UIKit.h>
typedef void (^XHRTextFieldRightViewBlock)(BOOL,NSString *);




typedef void(^XHRTextFieldRightViewLoadMoreBlock) ();

@interface XHRTextFieldRightView : UIView

/**rightView中点击按钮后调用的block*/
@property(nonatomic,copy)XHRTextFieldRightViewBlock rightViewBlock;
/**点击选择调用的block*/
@property(nonatomic,copy)XHRTextFieldRightViewLoadMoreBlock loadMoreBlock;
/**右边视图的模式*/
@property(nonatomic,assign)XHRTextFieldRightViewType type;

/**监听是否点击了对应的textFiled*/
@property(nonatomic,assign)BOOL isClickTextField;

@end
